home *** CD-ROM | disk | FTP | other *** search
/ Champak Vol K-12 / Vol K-12.iso / interfac / it.dig / scripts / %3Cdefault package%3E / FUIComponentSymbol.as < prev   
Encoding:
Text File  |  2012-08-27  |  959 b   |  37 lines

  1. function FUIComponentClass()
  2. {
  3.    this.init();
  4. }
  5. function()
  6. {
  7.    this.enable = true;
  8.    this.focused = false;
  9.    this.useHandCursor = false;
  10.    this._accImpl = new Object();
  11.    this._accImpl.stub = true;
  12.    this.styleTable = new Array();
  13.    if(_global.globalStyleFormat == undefined)
  14.    {
  15.       _global.globalStyleFormat = new FStyleFormat();
  16.       globalStyleFormat.isGlobal = true;
  17.       _global._focusControl = new Object();
  18.       _global._focusControl.onSetFocus = function(oldFocus, newFocus)
  19.       {
  20.          oldFocus.myOnKillFocus();
  21.          newFocus.myOnSetFocus();
  22.       };
  23.       Selection.addListener(_global._focusControl);
  24.    }
  25.    if(this._name != undefined)
  26.    {
  27.       this._focusrect = false;
  28.       this.tabEnabled = true;
  29.       this.focusEnabled = true;
  30.       this.tabChildren = false;
  31.       this.tabFocused = true;
  32.    }
  33. }
  34. FUIComponentClass.prototype = new MovieClip();
  35. FUIComponentClass.prototype;
  36. "init";
  37.